package com.mdd.admin.service.order;

import com.mdd.admin.validate.order.PreAuthorizationPaymentRecordCreateValidate;
import com.mdd.admin.validate.order.PreAuthorizationPaymentRecordUpdateValidate;
import com.mdd.admin.vo.order.PreAuthorizationPaymentRecordVo;
import java.util.List;

/**
 * 预授款扣款记录服务接口类
 * @author LikeAdmin
 */
public interface IPreAuthorizationPaymentRecordService {

    /**
     * 预授款扣款记录列表
     *
     * @author LikeAdmin
     * @param orderId 订单编号
     * @return PageResult<OrderPreAuthorizationPaymentRecordListedVo>
     */
    List<PreAuthorizationPaymentRecordVo> list(Long orderId);

    /**
     * 预授款扣款记录新增
     *
     * @author LikeAdmin
     * @param createValidate 参数
     */
    void add(PreAuthorizationPaymentRecordCreateValidate createValidate);

    /**
     * 预授款扣款记录编辑
     *
     * @author LikeAdmin
     * @param updateValidate 参数
     */
    void edit(PreAuthorizationPaymentRecordUpdateValidate updateValidate);

    /**
     * 预授款扣款记录删除
     *
     * @author LikeAdmin
     * @param id 主键ID
     */
    void del(Long id);

}
